<?php
/**
 * @author GhostWei
 * @date Oct 26, 2012
 */
class front_controller_sns extends front_controller_panel {

	protected $referer = null;
	protected $snsUser = null;
	public function init() {
		if(!parent::init()) {
			return;
		}
		$this->layout()->setLayout('layout/sns');
		$this->_crumbs()->addPage(system_nav_page::create($this->language('社区'))->setRoute('sns/index'));
		$this->view->snsUser = $this->snsUser = $this->cache()->sns()->getUser($this->_param('uid'));
	}
	
	
}
